package vip.ifmm.lehouse.file.service.api.mock;

import vip.ifmm.lehouse.common.dto.ServerResponse;
import vip.ifmm.lehouse.common.enums.CommonStatus;
import vip.ifmm.lehouse.file.service.api.FileService;

/**
 * @author: mackyhuang
 * <p>email: mackyhuang@163.com <p>
 * <p>date: 2019/6/17 </p>
 */
public class FileServiceMock implements FileService {
    public ServerResponse upload(String uniqueId, byte[] file, String module, String extension) {
        return ServerResponse.response(CommonStatus.SERVICE_IS_UNAVAILABLE);
    }

    @Override
    public ServerResponse uploadForBack(byte[] file, String module, String extension, String name, int size) {
        return ServerResponse.response(CommonStatus.SERVICE_IS_UNAVAILABLE);
    }


}
